#!/usr/bin/env python

import socket

HOST='192.168.56.108'
PORT=5000

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((HOST, PORT))

while True:
    msg = input("Your msg::").strip()
    if len(msg) == 0:
        continue

    s.sendall(msg)
    data = s.recv(1024)

    print("Received:", data)

s.close()
